package cc.comac.mom.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import cc.comac.mom.api.CheckSealService;
import cc.comac.mom.entity.CheckSealEntity;
import cc.comac.mom.util.ResultBean;

@RestController
@RequestMapping("/CheckSealController")
public class CheckSealController {
	
	@Autowired
	private CheckSealService checkSealService;
	
	@RequestMapping(value = "/checkSealInsert",method = RequestMethod.POST)
	public ResultBean checkSealInsert(@RequestBody CheckSealEntity checkSealEntity) {
		ResultBean checkSealInsert = checkSealService.checkSealInsert(checkSealEntity);
		return checkSealInsert;
	}

}
